package com.woniu.goodsservice.service;

import com.woniu.goodsservice.entity.Goodsdetail;
import java.util.List;

public interface GoodsdetailService {

    Goodsdetail queryById(Integer id);

    List<Goodsdetail> queryAllByLimit(int offset, int limit);
    
    List<Goodsdetail> findAll();
    Goodsdetail insert(Goodsdetail goodsdetail);

    Goodsdetail update(Goodsdetail goodsdetail);

    boolean deleteById(Integer id);

}